<?php
/**
 * Created by JetBrains PhpStorm.
 * User: huan
 * Date: 14-3-21
 * Time: 上午9:23
 * To change this template use File | Settings | File Templates.
 */

set_time_limit(0);

define('ROOT_PATH', str_replace('Cli/'.basename(__FILE__), '', str_replace('\\', '/', __FILE__)));

require_once(ROOT_PATH."Cls/const.php");
require_once(ROOT_PATH."Cls/common.php");
require_once(ROOT_PATH."Cls/db.php");
require_once(ROOT_PATH."Cls/lib_jd.php");
require_once(ROOT_PATH."Cls/curl.php");
require_once(ROOT_PATH."Cls/cls_jd_search.php");


$cJs = new JdSearch('1038212634','秘爱公馆');

$rank = $cJs->get_rank();

echo $rank;

